package com.yvan.leto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import org.apache.curator.framework.recipes.cache.TreeCacheEvent;

@Getter
@Setter
@AllArgsConstructor
public class ConfigChangeEvent {

    /**
     * 被改变的段落名称
     */
    private String segment;

    private TreeCacheEvent.Type changeType;

    /**
     * 改变之后的值
     */
    private String changes;

}
